import com.sport.video.cache.CacheApplication;
import com.sport.video.cache.util.CacheUtil;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = CacheApplication.class)
public class test {

    @Autowired
    private CacheUtil cacheUtil;

    @Test
    public void getCache() {

     /*   String key = "cache";
        String value = "Hello world";
        cacheUtil.set(key,value);
        System.out.println("result: "+cacheUtil.getStr(key));*/
    }
}
